#
# MAINTAINER        baihang,caipeng <caipen@163.com>
# DOCKER-VERSION    Docker version 17.04.0-ce, build 4845c56
#
# Dockerizing jdk: Dockerfile for building jdk images
#
FROM       baihang/centos:7.1
MAINTAINER baihang,caipeng <caipen@163.com>

ENV JAVA_VERSION 1.8.0
ENV JDK_HOME /usr/lib/jvm/java-1.8.0-openjdk

# Install jdk
RUN yum -y install java-${JAVA_VERSION}-openjdk java-${JAVA_VERSION}-openjdk-devel && \
    yum clean all
